package com.zuqiuzhandui.liveing.view.chooseSchedule;

import android.view.View;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.zuqiuzhandui.R;
import com.zuqiuzhandui.liveing.model.resultModel.TeamScheduleRs;
import com.zuqiuzhandui.liveing.view.choose.ScheduleItem;
import com.zuqiuzhandui.liveing.view.choose.TeamItem;

import java.util.List;

/**
 * Created by yq on 2016-10-08.
 */

public class ScheduleAdapter extends BaseQuickAdapter<TeamScheduleRs>{
    public ScheduleAdapter(List<TeamScheduleRs> data) {
        super(R.layout.item_schedule,data);
    }

    @Override
    protected void convert(BaseViewHolder baseViewHolder, TeamScheduleRs s) {
        View convertView = baseViewHolder.convertView;
        ScheduleItem.setItemView(s,convertView);

    }
}
